﻿#pragma once

#include "../../concrete/graphic/BoardView.h"
#include "../../../domain/models/Player.h"
#include "../../../domain/network/GameClient.h"

namespace Views {
	namespace Client {
		class BoardView: public Graphic::BoardView
		{
		protected:
			Domain::Network::GameClient* client; /**< Klient gracza wysuwającego oskarżenie */
			Cards::RoomsCards rooms_cards; 

		public:
			BoardView(Utils::GUI::Form*, Domain::Network::GameClient*);
			
			virtual void askForPlayerNewPosition(Players::Player*, Cards::RoomsCards);
		protected:
			/**
			* Wysyła do serwera informację o wybranym pokoju
			* @param room Karta pokoju
			*/
			virtual void onButtonClick(Cards::RoomCard*);
		};
	}
}

